wayland: Add profiler marks around surface handling
authorMatthias Clasen <mclasen@redhat.com>
Wed, 22 Jan 2020 19:51:40 +0000 (14:51 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 22 Jan 2020 20:12:03 +0000 (15:12 -0500)
commitdfea9bf0e8f30eab1532c74b55904a960f74435f
tree5417365746f807e8e254675ffe3ee0d6b8e14db8
parent36cb812ad8725e2b3f2887c3d4a6a16b987dddfb
wayland: Add profiler marks around surface handling

Add marks for when we do commits, swap buffer or
receive frame events. These are the low-level start
and end points of the frame cycle, and it is useful
to see them in the profiler.
gdk/wayland/gdkglcontext-wayland.c
gdk/wayland/gdksurface-wayland.c